<?php echo $this->element('body_help');?>
<?php echo $this->element('breadcrumb');?>
<div class="wrap">
<div id="icon-users" class="icon32"><br></div>
<h2>
	<?php __('Thêm năm thực hiện');?>
	<a class="button add-new-h2" href="<?php echo $this->webroot;?>schedules"><?php __('Lịch thực hiện');?></a>
</h2>
<?php echo $this->Session->flash();?>
<br/>
<div id="pageFormContent">
<div id="form_project">
<div class="projectCategories form">
<?php echo $this->Form->create('Schedule');?>
	<fieldset>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('project_year_id',array('label'=>'Năm thực hiện'));
		echo $this->Form->input('name',array('label'=>'Tên năm xếp lịch','class'=>'required'));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Cập nhật', true));?>
</div>
<script type="text/javascript">
        $(document).ready(function()    {
            $('#ScheduleEditForm').validate();
        });
</script>
</div>

<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('Schedule.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Schedule.id'))); ?></li>
		<li><?php echo $this->Html->link(__('List Schedules', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('List Project Years', true), array('controller' => 'project_years', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Project Year', true), array('controller' => 'project_years', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Schedule Registries', true), array('controller' => 'schedule_registries', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Schedule Registry', true), array('controller' => 'schedule_registries', 'action' => 'add')); ?> </li>
	</ul>
</div>

<br class="clear">
</div>
<div class="clear"></div>
</div>

